package com.scedu.repository;

import com.scedu.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserRepository {
    void save(User user);
    User login(@Param("username") String username,@Param("password") String password);
    List<User> findAll();
}
